projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4c8a46
)
(free_frame_menubar): Set the frame's menubar_widget to
author
Gerd Moellmann
<gerd@gnu.org>
Thu, 1 Mar 2001 15:28:26 +0000
(15:28 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Thu, 1 Mar 2001 15:28:26 +0000
(15:28 +0000)
NULL after destroying it, otherwise XTread_socket can access a
destroyed widget when input is unblocked.
src/xmenu.c
patch
|
blob
|
history
diff --git
a/src/xmenu.c
b/src/xmenu.c
index 224bc0bb0b8ee6fe614e776cdcf8f02fe0d8d30e..1c39e86ed262e3f2202885e02930328b4c53231c 100644
(file)
--- a/
src/xmenu.c
+++ b/
src/xmenu.c
@@
-1891,6
+1891,7
@@
free_frame_menubar (f)
{
BLOCK_INPUT;
lw_destroy_all_widgets ((LWLIB_ID) f->output_data.x->id);
+ f->output_data.x->menubar_widget = NULL;
UNBLOCK_INPUT;
}
}